﻿using System.Web;
using System.Web.Optimization;

namespace Zhang.DeskTop
{
    public class BundleConfig
    {
        // 有关捆绑的详细信息，请访问 https://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            BundleTable.EnableOptimizations = false;


            #region CSS
            //平台通用css
            bundles.Add(new StyleBundle("~/css/common").Include(
                "~/skin/css/Common/animate.css",
              
                "~/skin/css/Common/bootstrap.min.css",
                "~/skin/css/Common/font-awesome.css",
                "~/skin/css/Common/style.css"
                //"~/skin/css/Common/materialdesignicons.min.css"
            ));

            //login
            bundles.Add(new StyleBundle("~/css/login").Include(
                "~/skin/css/Login/*.css"
            ));
            #endregion


            #region JS
            //平台通用JS
            bundles.Add(new ScriptBundle("~/js/common").Include(
                "~/skin/js/Common/jquery-3.6.0.min.js",
                "~/skin/js/Common/Str.js"
                //"~/skin/js/Common/Scripts/*js"
            ));
            //login
            bundles.Add(new ScriptBundle("~/js/login").Include(
                "~//skin/js/Login/*.js"
            ));
            #endregion

            //祖安JS
            bundles.Add(new ScriptBundle("~/js/Quotation").Include(
                "~/Views/Tools/Quotation/js/*.js"
            ));
            //祖安css
            bundles.Add(new StyleBundle("~/css/Quotation").Include(
                "~/Views/Tools/Quotation/css/*.css"
            ));


            //笔记
            bundles.Add(new StyleBundle("~/css/Notes").Include(
                "~/skin/css/Notes/*.css"
            ));
            //bundles.Add(new ScriptBundle("~/js/Notes").Include(
            //    "~/skin/js/Notes/*.js"
            //));

            //工具
            bundles.Add(new StyleBundle("~/css/Tools").Include(
                "~/Views/Tools/Tools/css/*.css"
            ));
            //bundles.Add(new ScriptBundle("~/js/Notes").Include(
            //    "~/skin/js/Notes/*.js"
            //));
        }
    }
}
